package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病虫害对象 pest_disease
 * 
 * @author ruoyi
 * @date 2025-07-30
 */
public class PestDisease2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;

    /** 作物种类ID */
    @Excel(name = "作物种类ID")
    private Long categoryId;

    /** 病虫害类型 */
    @Excel(name = "病虫害类型")
    private String type;

    /** 病虫害名称 */
    @Excel(name = "病虫害名称")
    private String name;

    /** 症状描述（象差表现） */
    @Excel(name = "症状描述", readConverterExp = "象=差表现")
    private String symptoms;

    /** 发生条件 */
    @Excel(name = "发生条件")
    private String occurrenceCondition;

    /** 防治方法 */
    @Excel(name = "防治方法")
    private String controlMethods;

    /** 症状图片URLs */
    @Excel(name = "症状图片URLs")
    private String imageUrls;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }

    public void setOccurrenceCondition(String occurrenceCondition) 
    {
        this.occurrenceCondition = occurrenceCondition;
    }

    public String getOccurrenceCondition() 
    {
        return occurrenceCondition;
    }

    public void setControlMethods(String controlMethods) 
    {
        this.controlMethods = controlMethods;
    }

    public String getControlMethods() 
    {
        return controlMethods;
    }

    public void setImageUrls(String imageUrls) 
    {
        this.imageUrls = imageUrls;
    }

    public String getImageUrls() 
    {
        return imageUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("type", getType())
            .append("name", getName())
            .append("symptoms", getSymptoms())
            .append("occurrenceCondition", getOccurrenceCondition())
            .append("controlMethods", getControlMethods())
            .append("imageUrls", getImageUrls())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
